﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Buff
{
    [Header("Buff信息")]
    public string buffName;
    public int order;

    [Header("Buff参数")]
    public int duration;
    public Character owner;
    public FightSystem fightSystem;

    public bool isWork = true;

    public virtual void BuffStart() { }
    public virtual void BuffEffect() {
        duration -= 1;
    }
    public virtual void BuffEnd() {
        isWork = false;
    }
}
